Defines a frustum.
More...
◆ Frustum() [1/2]
nkGraphics::Frustum::Frustum |
( |
| ) |
|
◆ Frustum() [2/2]
nkGraphics::Frustum::Frustum |
( |
const Frustum & |
other | ) |
|
Copy constructor.
- Parameters
-
other | The frustum to copy. |
◆ ~Frustum()
nkGraphics::Frustum::~Frustum |
( |
| ) |
|
◆ buildFrustum()
Builds the frustum for a given view and projection matrix.
◆ getPlane()
const nkMaths::Vector& nkGraphics::Frustum::getPlane |
( |
unsigned int |
index | ) |
const |
Gives access to the planes forming the frustum.
- Parameters
-
index | The index of the plane to retrieve. Will be clamped to [0, 8]. |
- Returns
- The normal describing the plane requested.
The documentation for this class was generated from the following file:
- Documentation/Headers/NilkinsGraphics/Cameras/Frustum.h